<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition template="/WEB-INF/layout.xhtml"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
                xmlns:h="http://xmlns.jcp.org/jsf/html"
                xmlns:f="http://xmlns.jcp.org/jsf/core">


    <ui:define name="content">
        <h:outputText value="#{bundle.CreateTipoFuncionarioTitle}"></h:outputText>

        <h:panelGroup id="messagePanel" layout="block">
            <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
        </h:panelGroup>
        <h:form>
            <h:panelGrid columns="2">
                <h:outputLabel value="#{bundle.CreateTipoFuncionarioLabel_idTipo}" for="idTipo" />
                <h:inputText id="idTipo" value="#{tipoFuncionarioController.selected.idTipo}" title="#{bundle.CreateTipoFuncionarioTitle_idTipo}" />
            </h:panelGrid>
            <br />
            <h:commandLink action="#{tipoFuncionarioController.create}" value="#{bundle.CreateTipoFuncionarioSaveLink}" />
            <br />
            <br />
            <h:commandLink action="#{tipoFuncionarioController.prepareList}" value="#{bundle.CreateTipoFuncionarioShowAllLink}" immediate="true"/>
            <br />
            <br />
            <h:link outcome="/index" value="#{bundle.CreateTipoFuncionarioIndexLink}"/>
        </h:form>
    </ui:define>
</ui:composition>